from abc import ABC, abstractmethod


class IClientView:
    """客户端视图接口"""

    @abstractmethod
    def update_connection_status(self, connected: bool):
        pass

    @abstractmethod
    def display_received_data(self, data: str):
        pass

    @abstractmethod
    def show_error_message(self, message: str):
        pass

    @abstractmethod
    def get_connection_params(self) -> tuple:
        pass

    @abstractmethod
    def get_send_data(self) -> str:
        pass
